package cn.hwadee.muying.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 
 * </p>
 *
 * @author Carlos
 * @since 2018-08-07
 */
public class Salary extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 所属机构
     */
    @TableField("org_id")
        
    private Long orgId;
    @TableField("worker_level_id")
        
    private Long workerLevelId;
    /**
     * 起薪
     */
    @TableField("start_salary")
        
    private BigDecimal startSalary;
    /**
     * 合同期间每天工资
     */
    @TableField("per_salary")
        
    private BigDecimal perSalary;

    @TableField(exist = false)
    private String orgName;

    @TableField(exist = false)
    private String workerLevelName;

    public String getWorkerLevelName() {
        return workerLevelName;
    }

    public void setWorkerLevelName(String workerLevelName) {
        this.workerLevelName = workerLevelName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getWorkerLevelId() {
        return workerLevelId;
    }

    public void setWorkerLevelId(Long workerLevelId) {
        this.workerLevelId = workerLevelId;
    }

    public BigDecimal getStartSalary() {
        return startSalary;
    }

    public void setStartSalary(BigDecimal startSalary) {
        this.startSalary = startSalary;
    }

    public BigDecimal getPerSalary() {
        return perSalary;
    }

    public void setPerSalary(BigDecimal perSalary) {
        this.perSalary = perSalary;
    }

    public static final String ORG_ID = "org_id";

    public static final String WORKER_LEVEL_ID = "worker_level_id";

    public static final String START_SALARY = "start_salary";

    public static final String PER_SALARY = "per_salary";

    @Override
    public String toString() {
        return "Salary{" +
                ", orgId=" + orgId +
                ", workerLevelId=" + workerLevelId +
                ", startSalary=" + startSalary +
                ", perSalary=" + perSalary +
        "}";
    }
}
